﻿<%@ Page Language="C#" MasterPageFile="~/member/UserManage.master" AutoEventWireup="true"
    CodeFile="M_DestioneAd.aspx.cs" Inherits="DestioneAd"  Title="预定广告"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="server">
<div id="sub_content"> 
    <div class="pagetitle">
        预定广告</div>
  <div class="main_Supply_nav">
    <ul>
      <li class="MenuLiCheck">所有预定</li>
    </ul>
  </div>
  <div>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" AllowPaging="False" CellPadding="0" GridLines="None" CssClass="table_main">
      <columns>
        <asp:TemplateField HeaderText="广告位ID">
          <itemtemplate>
            <asp:Label ID="lb_AdId" runat="server" Text='<%#Eval("T_ID")%>'></asp:Label>
          </itemtemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="广告名称">
          <itemtemplate>
            <asp:Label ID="lb_name" runat="server" Text='<%#Eval("Ad_Name")%>'></asp:Label>
          </itemtemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="广告类型">
          <itemtemplate>
            <asp:Label ID="lb_type" runat="server" Text='<%#Eval("Ad_Type")%>'></asp:Label>
          </itemtemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="显示页面">
          <itemtemplate>
            <asp:Label ID="lb_page" runat="server" Text='<%#Eval("Ad_Page")%>'></asp:Label>
          </itemtemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="广告规格">
          <itemtemplate>
            <asp:Label ID="lb_width" runat="server" Text='<%#Eval("Ad_Width")%>'></asp:Label>
            <asp:Label
                            ID="Label1" runat="server" Text="×"></asp:Label>
            <asp:Label ID="lb_height" runat="server"
                                Text='<%#Eval("Ad_Height")%>'></asp:Label>
          </itemtemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="所需价格">
          <itemtemplate>
            <asp:Label ID="lb_money" runat="server" Text='<%#Eval("DayMoney","{0:c}")%>'></asp:Label>
          </itemtemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="选项">
          <itemtemplate>
            <asp:LinkButton ID="Btn_Destione" runat="server" Text="申请" CommandName="select"></asp:LinkButton>
          </itemtemplate>
        </asp:TemplateField>
      </columns>
	  <HeaderStyle CssClass="header" />
    </asp:GridView>
    <div class="paging">
     总记录数：<asp:Label ID="txt_pageCount" runat="server"></asp:Label>
        页码：<asp:Label ID="txt_begin" runat="server"></asp:Label>/<asp:Label ID="txt_pageAll" runat="server"></asp:Label>
      <asp:LinkButton ID="btn_pageFirst" runat="server" OnClick="btn_pageFirst_Click">首页</asp:LinkButton>
      <asp:LinkButton ID="btn_pageLast" runat="server" OnClick="btn_pageLast_Click">上一页</asp:LinkButton>
      <asp:LinkButton ID="btn_pageNext" runat="server" OnClick="btn_pageNext_Click">下一页</asp:LinkButton>
      <asp:LinkButton ID="btn_pageFoot" runat="server" OnClick="btn_pageFoot_Click">末页</asp:LinkButton>
      <asp:TextBox ID="txt_PageNum" runat="server" Width="30px"></asp:TextBox>
      <asp:LinkButton ID="btn_go" runat="server" OnClick="btn_go_Click">GO</asp:LinkButton>
    </div>
  </div>
  </div>
</asp:Content>
